package com.gaogao.java;

import java.util.Arrays;

public class ArraysTest {
    ArraysTest[] arraysTests;
    public static void main(String args[]){
        int[] a={1,5,11,17,3,6,2};
        System.out.println(Arrays.toString(a));
       Arrays.sort(a);
        System.out.println(Arrays.toString(a));
        System.out.println(Arrays.binarySearch(a,3));

    }

}
